#!/bin/sh

if test "${JAVA_HOME}" = ""; then
  export JAVA_HOME=@_JAVA_HOME_@
fi
JMODELICA_HOME=@prefix@ \
IPOPT_HOME=@IPOPT_HOME@ \
CPPAD_HOME=@prefix@/ThirdParty/CppAD/ \
SUNDIALS_HOME=@prefix@/ThirdParty/Sundials \
PYTHONPATH=:@prefix@/Python/:@CASADI_HOME@ \
LD_LIBRARY_PATH=:@IPOPT_HOME@/lib/:@prefix@/ThirdParty/Sundials/lib \
SEPARATE_PROCESS_JVM=@_JAVA_HOME_@ \
python $@
